<?php
//全部配置
$config_arr = array(
    'version' => array(//版本号管理
        'admin' => '0.1',
        'www' => '0.1',
        'attention' => '0.1',
        'js' => '20130827152925',
        'css' => '20130827152925'
    ),
    'redis' => array(//Redis缓存配置
        'default' =>
        array (
            'node_01' =>
            array (
                'master' => '192.168.83.219:6379',
                //'slave'  => '192.168.83.219:63791',
                'slave'  => array(
                    '192.168.83.219:63791',
                    '192.168.83.219:63792'
                ),
            ),
        ),
        'log' =>
        array (
            'node_01' =>
            array (
                'master' => '192.168.83.219:6379',//50MB
            ),
        )
    ),
    'db' => array(//数据库配置
		'test1'     =>  array(//mysql 数据库 配置 (测试环境)
            'dbtype'    =>  'mysql',
            'dbuser'    =>  'root',
            'dbpswd'    =>  '',
            'dbname'    =>  'wf-blog',
            'dbhost'    =>  'localhost',
        ),
        'default'     =>  array(//mysql 数据库 配置 (推荐使用)
            'dbtype'    =>  'mysql',
            'dbuser'    =>  'u140953134_wf',
            'dbpswd'    =>  'u140953134_wf',
            'dbname'    =>  'u140953134_wf',
            'dbhost'    =>  'mysql.iguesth.com',
        ),
        'oracle'  =>  array(//oracle 数据库 配置
            'dbtype'    =>  'oci',
            'dbuser'    =>  'whoopsfeed',
            'dbpswd'    =>  'whoopsfeed',
            'dbname'    =>  'whoopsfeed',
            'dbhost'    =>  '',
        )
    ),
    'sdk' => array(
        'sina' => array(
            'APP_KEY'    	=> '721794163', //应用注册成功后分配的 APP ID
            'APP_SECRET' 	=> '748577c515132672f10740f0481fbacf', //应用注册成功后分配的KEY
            'CALLBACK'  	=> 'http://www.whoopsfeed.com/www/account.php?a=callback&type=sina',
        ),
    )
);
?>